<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>表单</h2>
    <form action="tag.html" method="get">
        <input type="color" onblur="document.body.style.backgroundColor  = this.value">
        <input type="number" min="10" max="50">
        日期      <input type="date" name="date">
        <input type="range" min="0" max="100" name="age">
        用户名<input name="username"><br>
        密码<input type="password" name="pwd"><br>
        性别：男<input type="radio" name="sex" value="1">
        女<input type="radio" name="sex"  value="2"><br/>
        爱好： 吃<input type="checkbox"> 喝<input type="checkbox">
        读书 <input type="checkbox">
        <input type="reset">
        <input type="submit">
        <input type="button" value="按键">
    </form>

</body>
</html>